<%-- 
    Document   : lembreteatual
    Created on : 06/07/2011, 17:11:56
    Author     : Gabriella
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@taglib uri="http://richfaces.org/a4j" prefix="a4j"%>



<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">            
            <title><h:outputText value="#{msgs.atualizarlembrete}"/></title>
        </head>
        <body>            
                <h:form>
                    <h:outputText value="#{msgs.mensagem}" />
                    <h:inputTextarea value="#{lembreteManaged.lembrete.mensagem}" cols="10" rows="5" /><br/>

                    <h:outputText value="#{msgs.importancia} " />
                    <h:selectOneMenu value="#{lembreteManaged.lembrete.importancia}">
                        <f:selectItems value="#{menuUtil.importancia}" />
                    </h:selectOneMenu><br/>

                    <h:outputText value="#{msgs.status}" />
                    <h:selectOneMenu value="#{lembreteManaged.lembrete.status}">
                        <f:selectItems value="#{menuUtil.status}" />
                    </h:selectOneMenu><br/>

                    <h:outputText value="#{msgs.datalembrete}" />
                    <rich:calendar value="#{lembreteManaged.lembrete.data}" popup="true" datePattern="dd/MM/yyyy" showApplyButton="false"/><br/>

                    <h:commandButton value="OK" action="#{lembreteManaged.atualizarLembrete}" />

                </h:form>            
        </body>
    </html>
</f:view>
